package nl.ypmits.utils.threedee.materials {	import flash.display.Shape;			/**	 * @author davelenz	 */	public class ColorMaterial extends AMaterial {				private var _color:uint;		private var _alpha:Number;		public function ColorMaterial( color : uint, alpha : Number = 1 ) {			this._color = color;			this._alpha = alpha;						super( );						draw( );		}				private function draw() : void {			var s : Shape = new Shape( );			s.graphics.beginFill( _color, _alpha );			s.graphics.drawRect( -50, -50, 100, 100 );			s.graphics.endFill( );			addChild( s );		}	}}